package org.csu.webjpetstoreback.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

@Data
@Repository
@NoArgsConstructor
@AllArgsConstructor


//映射数据库
@TableName("inventory")
public class Inventory {
    @TableField(value = "itemid")
    private String itemid;
    @TableField(value = "qty")
    int qty;
}
